<?php

$menu = [
    [
        'name'    => 'xykeep',
        'title'   => 'XYkeep健身',
        'icon'    => 'fa fa-deviantart',
		'weigh'	  => '10000',
        'sublist' => [
            [
    		    'name'    => 'xykeep/dashboard/index',
    		    'title'   => '控制台',
    		    'icon'    => 'fa fa-dashboard',
    			'weigh'	  => '9999',
                'ismenu' => 1, 
    		],
            [
                'name'    => 'xykeep/shop',
			    'title'   => '门店管理',
			    'icon'    => 'fa fa-columns',
				'weigh'	  => '9998',
			    'sublist' => [
                    [
                        'name' => 'xykeep/store', 
                        'title' => '店铺列表', 
                        'weigh' => '100', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/store/index', 'title' => '查看'],
                            ['name' => 'xykeep/store/add', 'title' => '添加'],
                            ['name' => 'xykeep/store/edit', 'title' => '修改'],
                            ['name' => 'xykeep/store/del', 'title' => '删除'],
                            ['name' => 'xykeep/store/multi', 'title' => '批量更新'],
                            ["name" => "xykeep/store/recyclebin", "title" => "回收站"],
                            ["name" => "xykeep/store/restore", "title" => "还原"],
                            ["name" => "xykeep/store/destroy", "title" => "真实删除"]
                        ]
                    ],
			        [
                        'name' => 'xykeep/category/index/type/store', 
                        'title' => '门店分类', 
                        'weigh' => '99', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/category/add/type/store', 'title' => '添加'],
                            ['name' => 'xykeep/category/edit/type/store', 'title' => '修改'],
                            ['name' => 'xykeep/category/del/type/store', 'title' => '删除'],
                            ['name' => 'xykeep/category/multi/type/store', 'title' => '批量更新'],
                        ],
                        
                    ],
                    [
                        'name' => '/xykeep/store.service/index', 
                        'title' => '基础服务', 
                        'weigh' => '98', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/store.service/add', 'title' => '添加'],
                            ['name' => 'xykeep/store.service/edit', 'title' => '修改'],
                            ['name' => 'xykeep/store.service/del', 'title' => '删除'],
                            ['name' => 'xykeep/store.service/multi', 'title' => '批量更新'],
                        ]
                    ],
                    [
                        'name' => '/xykeep/store.device/index', 
                        'title' => ' 器械设施', 
                        'weigh' => '97', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/store.device/add', 'title' => '添加'],
                            ['name' => 'xykeep/store.device/edit', 'title' => '修改'],
                            ['name' => 'xykeep/store.device/del', 'title' => '删除'],
                            ['name' => 'xykeep/store.device/multi', 'title' => '批量更新'],
                        ]
                    ],
                ]
            ],
            [
                'name'    => 'xykeep/user',
                'title'   => '会员管理',
                'icon'    => 'fa fa-user-circle',
                'weigh'	  => '9997',
                'sublist' => [
                    [
                        'name' => 'xykeep/user/index', 
                        'title' => '会员列表', 
                        'icon'  => 'fa fa-align-justify',
                        'weigh' => '100', 
                        'ismenu' => 1, 
                    ],
                    [
                        'name' => 'xykeep/user.vip/index', 
                        'title' => '会员卡', 
                        'weigh' => '99', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/user.vip/add', 'title' => '添加'],
                            ['name' => 'xykeep/user.vip/edit', 'title' => '修改'],
                            ['name' => 'xykeep/user.vip/del', 'title' => '删除'],
                        ]
                    ],
                    [
                        'name' => 'xykeep/user.course/index', 
                        'title' => '会员课程', 
                        'weigh' => '98', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/user.course/add', 'title' => '添加'],
                        ]
                    ],
                ]
            ],
            [
                'name'    => 'xykeep/coach',
                'title'   => '教练管理',
                'icon'    => 'fa fa-bitbucket-square',
                'weigh'	  => '9996',
                'sublist' => [
                    [
                        'name' => 'xykeep/coach/index', 
                        'title' => '教练列表', 
                        'weigh' => '100', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/coach/add', 'title' => '添加'],
                            ['name' => 'xykeep/coach/edit', 'title' => '修改'],
                            ['name' => 'xykeep/coach/del', 'title' => '删除'],
                            ['name' => 'xykeep/coach/multi', 'title' => '批量更新'],
                            ["name" => "xykeep/coach/recyclebin", "title" => "回收站"],
                            ["name" => "xykeep/coach/restore", "title" => "还原"],
                            ["name" => "xykeep/coach/destroy", "title" => "真实删除"]
                        ]
                    ],
                    [
                        'name' => 'xykeep/category/index/type/coach', 
                        'title' => '教练分类', 
                        'weigh' => '99', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/category/add/type/coach', 'title' => '添加'],
                            ['name' => 'xykeep/category/edit/type/coach', 'title' => '修改'],
                            ['name' => 'xykeep/category/del/type/coach', 'title' => '删除'],
                            ['name' => 'xykeep/category/multi/type/coach', 'title' => '批量更新'],
                        ],
                        
                    ],
                    [
                        'name' => 'xykeep/coach.level/index', 
                        'title' => '教练等级', 
                        'weigh' => '100', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/coach.level/add', 'title' => '添加'],
                            ['name' => 'xykeep/coach.level/edit', 'title' => '修改'],
                            ['name' => 'xykeep/coach.level/del', 'title' => '删除'],
                            ['name' => 'xykeep/coach.level/multi', 'title' => '批量更新'],
                            ["name" => "xykeep/coach.level/recyclebin", "title" => "回收站"],
                            ["name" => "xykeep/coach.level/restore", "title" => "还原"],
                            ["name" => "xykeep/coach.level/destroy", "title" => "真实删除"]
                        ]
                    ],
                ]
            ],
            [
                'name'    => 'xykeep/course',
                'title'   => '课程管理',
                'icon'    => 'fa fa-address-book-o',
                'weigh'	  => '9995',
                'sublist' => [
                    [
                        'name' => 'xykeep/course/index', 
                        'title' => '课程列表', 
                        'weigh' => '100', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/course/add', 'title' => '添加'],
                            ['name' => 'xykeep/course/edit', 'title' => '修改'],
                            ['name' => 'xykeep/course/del', 'title' => '删除'],
                            ['name' => 'xykeep/course/multi', 'title' => '批量更新'],
                            ["name" => "xykeep/course/recyclebin", "title" => "回收站"],
                            ["name" => "xykeep/course/restore", "title" => "还原"],
                            ["name" => "xykeep/course/destroy", "title" => "真实删除"]
                        ]
                    ],
                    [
                        'name' => 'xykeep/category/index/type/course', 
                        'title' => '课程分类', 
                        'weigh' => '99', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/category/add/type/course', 'title' => '添加'],
                            ['name' => 'xykeep/category/edit/type/course', 'title' => '修改'],
                            ['name' => 'xykeep/category/del/type/course', 'title' => '删除'],
                            ['name' => 'xykeep/category/multi/type/course', 'title' => '批量更新'],
                        ],
                        
                    ],
                ]
            ], 
            [
                'name'    => 'xykeep/goods',
                'title'   => '商品管理',
                'icon'    => 'fa fa-archive',
                'weigh'	  => '9994',
                'sublist' => [
                    [
                        'name' => 'xykeep/goods/index', 
                        'title' => '商品列表', 
                        'weigh' => '100', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/goods/add', 'title' => '添加'],
                            ['name' => 'xykeep/goods/edit', 'title' => '修改'],
                            ['name' => 'xykeep/goods/del', 'title' => '删除'],
                            ['name' => 'xykeep/goods/multi', 'title' => '批量更新'],
                            ["name" => "xykeep/goods/recyclebin", "title" => "回收站"],
                            ["name" => "xykeep/goods/restore", "title" => "还原"],
                            ["name" => "xykeep/goods/destroy", "title" => "真实删除"]
                        ]
                    ],
                    [
                        'name' => 'xykeep/category/index/type/goods', 
                        'title' => '商品分类', 
                        'weigh' => '99', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/category/add/type/goods', 'title' => '添加'],
                            ['name' => 'xykeep/category/edit/type/goods', 'title' => '修改'],
                            ['name' => 'xykeep/category/del/type/goods', 'title' => '删除'],
                            ['name' => 'xykeep/category/multi/type/goods', 'title' => '批量更新'],
                        ],
                        
                    ],
                ]
            ], 
            [
                'name'    => 'xykeep/order',
                'title'   => '订单管理',
                'icon'    => 'fa fa-first-order',
                'weigh'	  => '9993',
                'sublist' => [
                    [
                        'name' => 'xykeep/vip.order/index', 
                        'title' => '会员卡订单', 
                        'weigh' => '100', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/xykeep/vip.order/detail', 'title' => '详情'],
                        ]
                    ],
                    [
                        'name' => 'xykeep/course.order/index', 
                        'title' => '课程订单', 
                        'weigh' => '100', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/xykeep/course.order/detail', 'title' => '详情'],
                        ]
                    ],
                    [
                        'name' => 'xykeep/goods.order/index', 
                        'title' => '商品订单', 
                        'weigh' => '100', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/xykeep/goods.order/detail', 'title' => '查看'],
                            ['name' => 'xykeep/xykeep/goods.order/delivery', 'title' => '发货'],
                            ['name' => 'xykeep/xykeep/goods.order/take_delivery', 'title' => '确认收货'],
                        ]
                    ],
                    [
                        'name' => 'xykeep/recharge.order/index', 
                        'title' => '充值订单',
                        'icon'  => 'fa fa-align-justify',
                        'weigh' => '100', 
                        'ismenu' => 1, 
                        
                    ],
                ]
            ],
            [
                'name'    => 'xykeep/appointment',
                'title'   => '预约管理',
                'icon'    => 'fa fa-first-order',
                'weigh'	  => '9992',
                'sublist' => [
                    [
                        'name' => 'xykeep/appointment/index', 
                        'title' => '预约列表',
                        'icon'  => 'fa fa-align-justify',
                        'weigh' => '100', 
                        'ismenu' => 1, 
                    ],
                ]
            ],
            [
                'name'    => 'xykeep/money',
                'title'   => '财务管理',
                'icon'    => 'fa fa-diamond',
                'weigh'	  => '9991',
                'sublist' => [
                    [
                        'name' => 'xykeep/user.withdraw/index/type/coach', 
                        'title' => '教练提现', 
                        'weigh' => '100', 
                        'ismenu' => 1,
                        'sublist' => [
                            ['name' => 'xykeep/user.withdraw/detail', 'title' => '查看'],
                            ['name' => 'xykeep/user.withdraw/agree', 'title' => '同意'],
                            ['name' => 'xykeep/user.withdraw/refuse', 'title' => '拒绝'],
                        ]
                    ],
                    [
                        'name' => 'xykeep/user.withdraw/index/type/distribution', 
                        'title' => '分销提现',
                        'icon'  => 'fa fa-align-justify',
                        'weigh' => '99', 
                        'ismenu' => 1, 
                    ],
                    [
                        'name' => 'xykeep/user.withdraw/index/type/store', 
                        'title' => '门店提现',
                        'icon'  => 'fa fa-align-justify',
                        'weigh' => '99', 
                        'ismenu' => 1, 
                    ],
                    [
                        'name' => 'xykeep/user.withdraw/index/type/balance', 
                        'title' => '余额提现',
                        'icon'  => 'fa fa-align-justify',
                        'weigh' => '98', 
                        'ismenu' => 1, 
                    ]
                ]
            ],
            [
                'name'    => 'xykeep/distribution',
                'title'   => '分销管理',
                'icon'    => 'fa fa-users',
                'weigh'	  => '9990',
                'sublist' => [
                    [
                        'name' => 'xykeep/distribution/index', 
                        'title' => '分销商',
                        'icon'  => 'fa fa-align-justify',
                        'weigh' => '100', 
                        'ismenu' => 1,
                    ],
                    [
                        'name' => 'xykeep/distribution.order/index', 
                        'title' => '分销订单',
                        'icon'  => 'fa fa-align-justify',
                        'weigh' => '99', 
                        'ismenu' => 1, 
                    ],
                    [
                        'name' => 'xykeep/distribution.level/index', 
                        'title' => '分销等级', 
                        'weigh' => '98', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/distribution.level/edit', 'title' => '编辑'],
                            ['name' => 'xykeep/distribution.level/del', 'title' => '删除'],
                        ]
                    ],
                ]
            ],
            [
                'name'    => 'xykeep/page',
                'title'   => '装修管理',
                'icon'    => 'fa fa-camera-retro',
                'weigh'	  => '8999',
                'sublist' => [
                    [
                        'name' => 'xykeep/page/index', 
                        'title' => '模板管理', 
                        'weigh' => '100', 
                        'ismenu' => 1,
                        'sublist' => [
                            ['name' => 'xykeep/page/add', 'title' => '新建模板'],
                            ['name' => 'xykeep/page/edit', 'title' => '装修'],
                            ['name' => 'xykeep/page/use', 'title' => '发布'],
                            ["name" => "xykeep/page/recyclebin", "title" => "回收站"],
                            ["name" => "xykeep/page/restore", "title" => "还原"],
                            ["name" => "xykeep/page/destroy", "title" => "真实删除"]
                        ]
                    ],
                    [
                        'name' => 'xykeep/link/index', 
                        'title' => '页面链接', 
                        'weigh' => '99', 
                        'ismenu' => 1,
                        'sublist' => [
                            ['name' => 'xykeep/link/add', 'title' => '新建模板'],
                            ['name' => 'xykeep/link/edit', 'title' => '装修'],
                            ['name' => 'xykeep/link/use', 'title' => '发布'],
                            ["name" => "xykeep/link/recyclebin", "title" => "回收站"],
                            ["name" => "xykeep/link/restore", "title" => "还原"],
                            ["name" => "xykeep/link/destroy", "title" => "真实删除"]
                        ]
                    ],
                    [
                        'name' => 'xykeep/tabbar/index', 
                        'title' => '底部导航',
                        'icon'  => 'fa fa-align-justify',
                        'weigh' => '98', 
                        'ismenu' => 1,
                    ],
                ]
            ],
            [
                'name'    => 'xykeep/content',
                'title'   => '内容管理',
                'icon'    => 'fa fa-pencil-square',
                'weigh'	  => '8998',
                'sublist' => [
                    [
                        'name' => 'xykeep/article/index', 
                        'title' => '文章列表', 
                        'weigh' => '100', 
                        'ismenu' => 1,
                        'sublist' => [
                            ['name' => 'xykeep/article/add', 'title' => '添加'],
                            ['name' => 'xykeep/article/edit', 'title' => '修改'],
                            ['name' => 'xykeep/article/del', 'title' => '删除'],
                            ['name' => 'xykeep/article/multi', 'title' => '批量更新'],
                            ["name" => "xykeep/article/recyclebin", "title" => "回收站"],
                            ["name" => "xykeep/article/restore", "title" => "还原"],
                            ["name" => "xykeep/article/destroy", "title" => "真实删除"]
                        ]
                    ],
                    [
                        'name' => 'xykeep/category/index/type/article', 
                        'title' => '文章分类', 
                        'weigh' => '99', 
                        'ismenu' => 1, 
                        'sublist' => [
                            ['name' => 'xykeep/category/add/type/article', 'title' => '添加'],
                            ['name' => 'xykeep/category/edit/type/article', 'title' => '修改'],
                            ['name' => 'xykeep/category/del/type/article', 'title' => '删除'],
                            ['name' => 'xykeep/category/multi/type/article', 'title' => '批量更新'],
                        ],
                    ]
                ]
            ],
            [
    		    'name'    => 'xykeep/config',
    		    'title'   => '配置中心',
    		    'icon'    => 'fa fa-gear',
    			'weigh'	  => '8997',
                'ismenu' => 1, 
    		],
        ],
    ]
];
return $menu;


